package org.graduation.feignapi;

import org.graduation.model.common.ResponseResult;
import org.graduation.model.common.note.Note;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("note-service")
public interface NoteClient {
    @GetMapping("note/info/allAlarmNote")
    List<Note> allAlarmNote(@RequestParam(value = "uid") Integer uid);
}
